package org.wsff.tools.api.gateway.model;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * The type Base response dto.
 * @author ryan
 * @version Id: BaseResponse.java, v 0.1 2022-01-18 11:25 ryan Exp $$
 */
@Getter
@Setter
@ToString
public class BaseResponse implements Serializable {
    /**  */
    private static final long serialVersionUID = 3547212193993726897L;
    /** tracerId */
    private String            tracerId;

    /**
     * 接口返回状态
     * true：成功
     * false：失败
     */
    private Boolean           success;
    /**
     * 消息代码，查询失败时，返回定义的错误码，成功为空字符串
     */
    private String            code;
    /**
     * 消息内容，查询失败时，返回错误描述，成功为空字符串
     */
    private String            message;

}